<template>
  <n-config-provider :theme-overrides="themeOverrides" :locale="zhCN" :date-locale="dateZhCN">
    <n-dialog-provider>
      <n-modal-provider>
        <n-message-provider>
          <router-view />
        </n-message-provider>
      </n-modal-provider>
    </n-dialog-provider>
  </n-config-provider>
</template>

<script setup>
// 初始检查是否有通知权限
import { notificationService } from "@/utils/notification.js";
notificationService.init();

import { zhCN, dateZhCN } from 'naive-ui'

// 待配置主题
const themeOverrides = {
  // Button: {
  //   colorQuaternaryHover: '#FFFFFF'
  // },
}
</script>
